package com.quanxiaoha.weblog.common.service;

import com.quanxiaoha.weblog.common.domain.query.MemoryDataQuery;
import com.quanxiaoha.weblog.common.domain.query.SegmentQuery;
import com.quanxiaoha.weblog.common.domain.vo.MemoryDataVo;
import com.quanxiaoha.weblog.common.domain.vo.MergeQuery;
import com.quanxiaoha.weblog.common.domain.vo.ReadNumVo;
import com.quanxiaoha.weblog.common.domain.vo.SegmentVo;
import com.quanxiaoha.weblog.common.entity.ScheduleMemory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-06-24
 */
public interface IScheduleMemoryService extends IService<ScheduleMemory> {

    //查询数据
    List<MemoryDataVo> getMemoryData();

    void saveMemory(SegmentQuery query);

    ReadNumVo clock(Integer id);

    void saveDocument(MemoryDataQuery query);

    void deleteDocument(Integer id);

    List<SegmentVo> getDocumentSegments(String title);

    void mergeMemory(MergeQuery query);

    void deleteMemories(String title);
}
